CONTENTS | INDEX | PREV | NEXT
 FUNCTION
 Identify Files

 SYNOPSIS
 ident [ -q ] [ file ...  ]

 DESCRIPTION
 Ident searches the named files or, if no file name appears, the
 standard input for all occurrences of the pattern $keyword:...$,
 where keyword is one of Author, Date, Header, Id, Locker, Log,
 Revision, RCSfile, Source, or State.  This command works much like
 the AmigaDOS version command.

 These patterns are normally inserted automatically by the RCS command
 co, but can also be inserted manually.  The option -q suppresses the
 warning given if there are no patterns in a file.

 Ident works on text files as well as object files and dumps.  For
 example, if the C program in file f.c contains

 char rcsid[] = "$Header: /home/dice/com/master/Doc/RCS/dice_commands.doc,v
  30.8 1994/08/18 05:39:56 dice Exp dice $";

 and f.c is compiled into f.o, then the command will print:

 1> ident f.c f.o
 f.c: $Header: /home/dice/com/master/Doc/RCS/dice_commands.doc,v 30.8 1994/08/18 05:39:56 dice Exp dice $
 f.o: $Header: /home/dice/com/master/Doc/RCS/dice_commands.doc,v 30.8 1994/08/18 05:39:56 dice Exp dice $

 SEE ALSO
 ci, co, rcs, rcsdiff, rcsintro, rcsmerge, rlog